MUSIC PLAYING

This command will return an integer value of one if the specified music is playing, otherwise zero is returned.

  Syntax
Return Integer=MUSIC PLAYING(Music Number)
  Parameters
Music Number
Integer
The music number

  Returns

This value is an integer number such as 1.

  Example Code
cls
load music "happy.mp3",1
Play music 1
print "is music playing "+str$(music playing(1))
do
loop
stop music 1
end
  See also

MUSIC Commands Menu
Index